package com.bruce.pattern.behavioral.visitor.demo2;

import lombok.Getter;

/**
 * Created by bruce on 2018/11/11 19:54
 */
public abstract class Course {

    @Getter
    private String name;

    public Course(String name) {
        this.name = name;
    }

    public abstract void accept(IVisitor visitor);



}
